Elementor\Modules\ImageLoadingOptimization\Module S

Total Complexity 48
Dependencies 0
Dependents 0
Total lines 353
Lines of code 162
Logical lines of code 89
Comment lines 136
Methods 15
Properties 3

Methods 15

Method Rating Maintainability Complexity Lines of code
get_loading_optimization_attributes()
A
43 14 51
add_loading_optimization_attrs()
A
51 9 24
maybe_add_fetchpriority_high_attr()
S
55 7 20
flush_header_buffer()
S
64 4 9
__construct()
S
62 2 11
loading_optimization_image()
S
67 2 8
high_priority_element_flag()
S
69 2 7
get_name()
S
82 1 3
is_optimized_image_loading_enabled()
S
78 1 3
stop_core_fetchpriority_high_logic()
S
81 1 3
set_buffer()
S
79 1 3
handle_buffer_content()
S
80 1 3
filter_images()
S
67 1 9
get_min_priority_img_pixels()
S
79 1 3
increase_content_media_count()
S
74 1 5